package com.example.demo.test;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@ConfigurationProperties("maptypes")
@Data
public class MapConfig {
    private Map<String, String> map;
}
